package cn.hpu.mobile_bank.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import lombok.Data;

/**
 * 
 * @TableName account
 */
@TableName(value ="account")
@Data
public class Account implements Serializable {
    /**
     * id
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 账户名
     */
    private String accountName;

    /**
     * 密码
     */
    private String password;

    /**
     * 余额
     */
    private BigDecimal balance;

    /**
     * 状态id
     */
    private Integer statusId;

    /**
     * 用户id
     */
    private Integer personId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}